package com.ruoyi.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "sensor")
public class SensorConfig {

    private String ip;

    private String port;

    private String userName;

    private String password;

    private String synchSensor;

    private String synchData;

    public final static String PASSWORD = "N485T2xnjVZTZ3mLCqTcWQ%2BtmpECrAOOwvWf62EEKNeErv1cToci9xTRpabkMVd7sv9LeBF5sSNzNnPjoLmCGacyt%2BF5ve7NTnQQJpHiSiSa8KLahs9iCmvSaPHSf4Q93XpsVwTsqLqjYM9fy9F8AbIakTbHiPVUVtsEcjhr31g=";

    public String getSynchSensor() {
        return synchSensor;
    }

    public void setSynchSensor(String synchSensor) {
        this.synchSensor = synchSensor;
    }

    public String getSynchData() {
        return synchData;
    }

    public void setSynchData(String synchData) {
        this.synchData = synchData;
    }

    public static String getPASSWORD() {
        return PASSWORD;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
